expansion of vector triple product